<?php
error_reporting(E_ALL);
$starttimer = time()+microtime();

if(PHP_VERSION >= "5.1.0"){
    date_default_timezone_set('Asia/Shanghai');
}

$System_DIR = 'System';
$App_DIR    = 'Apps';

Define('FCPATH',__FILE__);
Define('SELF',pathinfo(FCPATH, PATHINFO_BASENAME));
Define('ROOTDIR',dirname(FCPATH).'/');
Define('APPBASE',ROOTDIR.$App_DIR.'/');
Define('SYSBASE',ROOTDIR.$System_DIR.'/');
//指定Model的目录
//Define('MODELDIR',ROOTDIR.'Models/');
require(SYSBASE.'Simple/Base.php');

$stoptimer = time()+microtime();
$timer = round($stoptimer-$starttimer,4);

echo "\n<!--Processed in $timer-->";